package com.fw.controller;


import com.fw.entity.Result;
import com.fw.service.IVarifycodeService;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author james
 * @since 2021-06-19
 */
@RestController
@RequestMapping("/varifycode")
public class VarifycodeController {

    @Resource
    IVarifycodeService varifycodeService;
    @RequestMapping("/listAll")
    public Result listAll(){
        return new Result(varifycodeService.list(), "", "");
    }
}
